[v-cloak] {
    display: none;
}

.udia {
    width: 500px;
    height: 240px;



}

.tksl{
  

    display: flex;
    align-items: center;
    justify-content: center;

}
.dialog-footer{
    width: 100%;
   
    display: flex;
    justify-content: center;
    gap: 30px;
   
   
}
 .red-button{
        /* border: 1px solid black; */
        width: 100px;

    }


    .table_titel {
        height: 46px;
        line-height: 46px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .table_titel .titel {
        font-weight: bold;
    }
    
.works {
    width: 100%;
  
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: black;


}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.el-table th.el-table__cell {
    font-weight: bold;
    /* color: #333; */
    color: #5b6069;
    /* background: #F5F7FA; */
    background: #f2f2f2;
    
}

.el-table__header-wrapper tr th.el-table-fixed-column--right,
.el-table.is-scrolling-none th.el-table-fixed-column--right,
.el-table.is-scrolling-right th.el-table-fixed-column--right,
.el-table__header-wrapper tr th.el-table-fixed-column--left,
.el-table.is-scrolling-none th.el-table-fixed-column--left,
.el-table.is-scrolling-left th.el-table-fixed-column--left{
    background: #f2f2f2;
    height: 50px;
}

.el-table-fixed-column--right:last-child .cell{
    display: flex;
    align-items: center;
}


/* 容器布局 */
#app {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.title {
    padding: 15px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.body {
    flex: 1;
    display: flex;
    gap: 20px;
    padding: 15px;
    overflow: hidden;
}

/* 左侧导航 */
.left {
    padding: 1%;
    flex: 0 0 280px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: auto;
}

/* 右侧主内容 */
.right {
    padding: 1%;
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* 响应式处理 */
@media (max-width: 768px) {
    .body {
        flex-direction: column;
        padding: 10px;
    }

    .left {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 15px;
    }

    .el-table {
        max-height: 50vh;
    }
}

/* 表格容器 */
.table-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.el-table {
    height: 100% !important;
}

/* 分页样式 */
.el-pagination {
    padding: 12px;
    background: #fff;
    border-top: 1px solid #eee;
}

.button {
    margin-left: 1%;
    min-width: 96px;
    height: 32px;
    background: #fff;
    border: 1px solid #d31805;
    border-radius: 16px;
    color: #d31805;
    cursor: pointer;
    outline: none;
}

.zdtype {
    background: #d31805;
    color: #fff;
    margin: 1%;
    width: 10%;
}

:deep(.el-select__wrapper) {
    align-items: normal;
}

.custom-dialog {
    padding: 20px;

    .dialog-header {
        text-align: center;
        padding: 15px 0;

        span {
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }
    }

    .dialog-content {
        padding: 0px 50px;

        .full-width-checkbox {
            display: block;
            padding-left: 2%;
            font-weight: bold;
            color: #333;
        }

        .checkbox-columns {
            display: flex;

            .checkbox-column {
                width: 48%;

                .custom-checkbox {
                    display: block;
                    margin: 8px 0;
                    padding: 5px 10px;
                    border-radius: 4px;
                    transition: all 0.3s;

                    &:hover {
                        background-color: #f5f5f5;
                    }
                }
            }
        }
    }

    .dialog-footer {
        text-align: center;
        padding: 15px 0;

        .cancel-btn {
            width: 100px;
            background: #f5f5f5;
            color: #666;
            border: none;

            &:hover {
                background: #e6e6e6;
            }
        }

        .confirm-btn {
            width: 100px;
            background: #d31805;
            border: none;

            &:hover {
                background: #b31505;
            }
        }
    }
}

.custom-tree-node {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 14px;
    padding-right: 8px;
}
.el-tree {
    position: relative;
}

.custom-tree-node .item{
    height: 20px;
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
    background-color: #fff;
    /* transform: rotate(90deg) */
}

.el-tree-node__content:hover .custom-tree-node .item {
    background-color: #f5f7fa;
}
